projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ea6e4
)
wayland: Tag the event source with the acutal display name
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 May 2016 14:52:31 +0000
(10:52 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 May 2016 14:52:31 +0000
(10:52 -0400)
gdk/wayland/gdkeventsource.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkeventsource.c
b/gdk/wayland/gdkeventsource.c
index dcd10a12924f624e8f6f8480cf49007192538dad..bb22e00195338269febbc324e1b12025b9882df5 100644
(file)
--- a/
gdk/wayland/gdkeventsource.c
+++ b/
gdk/wayland/gdkeventsource.c
@@
-131,7
+131,8
@@
_gdk_wayland_display_event_source_new (GdkDisplay *display)
source = g_source_new (&wl_glib_source_funcs,
sizeof (GdkWaylandEventSource));
- name = g_strdup_printf ("GDK Wayland Event source (%s)", "display name");
+ name = g_strdup_printf ("GDK Wayland Event source (%s)",
+ gdk_display_get_name (display));
g_source_set_name (source, name);
g_free (name);
wl_source = (GdkWaylandEventSource *) source;